package com.atguigu.spzx.product;

import com.atguigu.spzx.common.annotation.EnableUserWebMvcConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>
 * ProductApplication
 * </p>
 *
 * @author flyduck
 * @since 2023/11/3
 */
@EnableCaching
@ComponentScan(basePackages = {"com.atguigu.spzx"})
@SpringBootApplication
@MapperScan("com.atguigu.spzx.product.mapper")
@EnableUserWebMvcConfiguration
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
